package com.juyu.miliao.scheduler.dao.mysql;

import com.juyu.miliao.scheduler.domin.Vip;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;


@Repository
public class VipDao {
	@Autowired
	private SqlSession sqlSession;
	

	public Vip getVipById(int vipId){
		return sqlSession.selectOne("getVipById", vipId);
	}
	
}
